package com.haogu.service;

import com.haogu.pojo.vo.ValidateLoginVo;

import java.util.Map;

public interface UserService {
    /**
     * 用来获取图形验证码
     * @return
     */
//    Map<String, String> validateCode();

    /**
     * 账号密码登录
     * @param validateLoginVo
     * @return
     */
    String login(ValidateLoginVo validateLoginVo);

    /**
     * 账号验证码登录
     * @param validateLoginVo
     * @return
     */
    String loginVerificationCode(ValidateLoginVo validateLoginVo);

    /**
     * 获取电话短信验证码
     * @param phone
     * @throws Exception
     */
    String validateMessagesCode(String phone) throws Exception;

    /**
     * 注册
     * @param validateLoginVo
     * @return
     */
    String Messages(ValidateLoginVo validateLoginVo);
}
